package com.xiaoyun;

import com.xiaoyun.ba05.Student;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Unit test for simple App.
 */
public class AppTest05
{
    /**
     * Rigorous Test :-)
     */
    @Test
    public void test01()
    {
        ApplicationContext ac  = new ClassPathXmlApplicationContext("ba05/ApplicationContext.xml");
        Student student = (Student)ac.getBean("student5");
        System.out.println(student);
    }
}
